
QT       -= gui

TEMPLATE = lib
CONFIG   += c++11
DESTDIR  = ../sleeper/lib

UI_DIR  = build
RCC_DIR = build

CONFIG(debug, debug|release) {
    TARGET = moleutilsd

    OBJECTS_DIR = build/debug
    MOC_DIR     = build/debug

}
else {
    TARGET = moleutils

    OBJECTS_DIR = build/release
    MOC_DIR     = build/release
}

DEFINES += MOLE_LIBRARY

INCLUDEPATH += . .. src

HEADERS += \
    utils_global.hpp \
    utils.hpp \
    src/moletask.hpp

SOURCES += \
    src/moletask.cpp \
    src/utils.cpp

include (optparser/optparser.pri)

OTHER_FILES += \
    ../pack/makearchive.py
